package com.bdzl.admin.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.sys.OrgContactDao;
import com.bdzl.pub.entity.sys.OrgContactDO;
import com.bdzl.admin.service.sys.OrgContactService;



@Service
public class OrgContactServiceImpl implements OrgContactService {
	@Autowired
	private OrgContactDao orgContactDao;
	
	@Override
	public OrgContactDO get(Integer socId){
		return orgContactDao.get(socId);
	}
	
	@Override
	public List<OrgContactDO> list(Map<String, Object> map){
		return orgContactDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orgContactDao.count(map);
	}
	
	@Override
	public int save(OrgContactDO orgContact){
		return orgContactDao.save(orgContact);
	}
	
	@Override
	public int update(OrgContactDO orgContact){
		return orgContactDao.update(orgContact);
	}
	
	@Override
	public int remove(Integer socId){
		return orgContactDao.remove(socId);
	}
	
	@Override
	public int batchRemove(Integer[] socIds){
		return orgContactDao.batchRemove(socIds);
	}
	
}
